﻿<UserControl x:Class="MTBrainStorm.Views.VirtualKeyboard"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:Views="clr-namespace:MTBrainStorm.Views"
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="600">
    
        <Grid x:Name="root">
            <StackPanel Margin="40,40,40,40">
                <StackPanel x:Name="r1" Orientation="Horizontal">
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Tilde]}" Content="`" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N1]}" Content="1" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N2]}" Content="2" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N3]}" Content="3" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N4]}" Content="4" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N5]}" Content="5" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N6]}" Content="6" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N7]}" Content="7" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N8]}" Content="8" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N9]}" Content="9" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N0]}" Content="0" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Minus]}" Content="-" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Plus]}" Content="=" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Backspace]}" Content="&lt;-" Width="60" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Tab]}" Width="46" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Q]}" Content="Q" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[W]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[E]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[R]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[T]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Y]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[U]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[I]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[O]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[P]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[LeftSquareBracket]}" Content="[" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[RightSquareBracket]}" Content="]" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[BackSlash]}" Width="44" Content="\" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Views:VirtualKeyboardKey Key="{Binding Keys[CapsLock]}" Width="55" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[A]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[S]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[D]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[F]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[G]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[H]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[J]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[K]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[L]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Semicolon]}" Content=";" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Apostrophe]}" Content="'" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Return]}" Width="65" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Shift]}" Width="75" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Z]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[X]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[C]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[V]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[B]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[N]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[M]}" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Comma]}" Content="," />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Dot]}" Content="." />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Slash]}" Content="/" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Shift]}" Width="75" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Views:VirtualKeyboardKey Key="{Binding Keys[LeftControl]}" Content="Ctrl" Width="60" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[LeftAlt]}" Content="Alt" Width="60" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[Space]}" Width="210" Content="" />
                <Views:VirtualKeyboardKey Key="{Binding Keys[RightAlt]}" Content="Alt Gr" Width="60" />
                    <Views:VirtualKeyboardKey Key="{Binding Keys[RightControl]}" Content="Ctrl" Width="60" />
                </StackPanel>
            </StackPanel>
        </Grid>

</UserControl>
